Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[r2] v2.2.10 #3648

Merged
merged 42 commits into from
Apr 6, 2024
Merged

[r2] v2.2.10 #3648

merged 42 commits into from
Apr 6, 2024

Conversation

njzjz
Copy link
Member

@njzjz njzjz commented Apr 6, 2024

Collect the following PRs:

njzjz and others added 30 commits April 6, 2024 01:43
Deprecate per discussion.

---------

Signed-off-by: Jinzhe Zeng <[email protected]>
(cherry picked from commit 5c545f7)

---------

When cherry-pick from devel, PyTorch and v3 specific documentation are removed.

Signed-off-by: Jinzhe Zeng <[email protected]>
Bumps
[codecov/codecov-action](https://github.com/codecov/codecov-action) from
3 to 4.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/codecov/codecov-action/releases">codecov/codecov-action's
releases</a>.</em></p>
<blockquote>
<h2>v4.0.0</h2>
<p>v4 of the Codecov Action uses the <a
href="https://docs.codecov.com/docs/the-codecov-cli">CLI</a> as the
underlying upload. The CLI has helped to power new features including
local upload, the global upload token, and new upcoming features.</p>
<h2>Breaking Changes</h2>
<ul>
<li>The Codecov Action runs as a <code>node20</code> action due to
<code>node16</code> deprecation. See <a
href="https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/">this
post from GitHub</a> on how to migrate.</li>
<li>Tokenless uploading is unsupported. However, PRs made from forks to
the upstream public repos will support tokenless (e.g. contributors to
OS projects do not need the upstream repo's Codecov token). This <a
href="https://docs.codecov.com/docs/adding-the-codecov-token#github-actions">doc</a>
shows instructions on how to add the Codecov token.</li>
<li>OS platforms have been added, though some may not be automatically
detected. To see a list of platforms, see our <a
href="https://cli.codecov.io">CLI download page</a></li>
<li>Various arguments to the Action have been changed. Please be aware
that the arguments match with the CLI's needs</li>
</ul>
<p><code>v3</code> versions and below will not have access to CLI
features (e.g. global upload token, ATS).</p>
<h2>What's Changed</h2>
<ul>
<li>build(deps): bump openpgp from 5.8.0 to 5.9.0 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/codecov/codecov-action/pull/985">codecov/codecov-action#985</a></li>
<li>build(deps): bump actions/checkout from 3.0.0 to 3.5.3 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/codecov/codecov-action/pull/1000">codecov/codecov-action#1000</a></li>
<li>build(deps): bump ossf/scorecard-action from 2.1.3 to 2.2.0 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/codecov/codecov-action/pull/1006">codecov/codecov-action#1006</a></li>
<li>build(deps): bump tough-cookie from 4.0.0 to 4.1.3 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/codecov/codecov-action/pull/1013">codecov/codecov-action#1013</a></li>
<li>build(deps-dev): bump word-wrap from 1.2.3 to 1.2.4 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/codecov/codecov-action/pull/1024">codecov/codecov-action#1024</a></li>
<li>build(deps): bump node-fetch from 3.3.1 to 3.3.2 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/codecov/codecov-action/pull/1031">codecov/codecov-action#1031</a></li>
<li>build(deps-dev): bump <code>@​types/node</code> from 20.1.4 to
20.4.5 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/codecov/codecov-action/pull/1032">codecov/codecov-action#1032</a></li>
<li>build(deps): bump github/codeql-action from 1.0.26 to 2.21.2 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/codecov/codecov-action/pull/1033">codecov/codecov-action#1033</a></li>
<li>build commit,report and upload args based on codecovcli by <a
href="https://github.com/dana-yaish"><code>@​dana-yaish</code></a> in <a
href="https://redirect.github.com/codecov/codecov-action/pull/943">codecov/codecov-action#943</a></li>
<li>build(deps-dev): bump <code>@​types/node</code> from 20.4.5 to
20.5.3 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/codecov/codecov-action/pull/1055">codecov/codecov-action#1055</a></li>
<li>build(deps): bump github/codeql-action from 2.21.2 to 2.21.4 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/codecov/codecov-action/pull/1051">codecov/codecov-action#1051</a></li>
<li>build(deps-dev): bump <code>@​types/node</code> from 20.5.3 to
20.5.4 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/codecov/codecov-action/pull/1058">codecov/codecov-action#1058</a></li>
<li>chore(deps): update outdated deps by <a
href="https://github.com/thomasrockhu-codecov"><code>@​thomasrockhu-codecov</code></a>
in <a
href="https://redirect.github.com/codecov/codecov-action/pull/1059">codecov/codecov-action#1059</a></li>
<li>build(deps-dev): bump <code>@​types/node</code> from 20.5.4 to
20.5.6 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/codecov/codecov-action/pull/1060">codecov/codecov-action#1060</a></li>
<li>build(deps-dev): bump <code>@​typescript-eslint/parser</code> from
6.4.1 to 6.5.0 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/codecov/codecov-action/pull/1065">codecov/codecov-action#1065</a></li>
<li>build(deps-dev): bump <code>@​typescript-eslint/eslint-plugin</code>
from 6.4.1 to 6.5.0 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/codecov/codecov-action/pull/1064">codecov/codecov-action#1064</a></li>
<li>build(deps): bump actions/checkout from 3.5.3 to 3.6.0 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/codecov/codecov-action/pull/1063">codecov/codecov-action#1063</a></li>
<li>build(deps-dev): bump eslint from 8.47.0 to 8.48.0 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/codecov/codecov-action/pull/1061">codecov/codecov-action#1061</a></li>
<li>build(deps-dev): bump <code>@​types/node</code> from 20.5.6 to
20.5.7 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/codecov/codecov-action/pull/1062">codecov/codecov-action#1062</a></li>
<li>build(deps): bump openpgp from 5.9.0 to 5.10.1 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/codecov/codecov-action/pull/1066">codecov/codecov-action#1066</a></li>
<li>build(deps-dev): bump <code>@​types/node</code> from 20.5.7 to
20.5.9 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/codecov/codecov-action/pull/1070">codecov/codecov-action#1070</a></li>
<li>build(deps): bump github/codeql-action from 2.21.4 to 2.21.5 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/codecov/codecov-action/pull/1069">codecov/codecov-action#1069</a></li>
<li>build(deps-dev): bump <code>@​typescript-eslint/eslint-plugin</code>
from 6.5.0 to 6.6.0 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/codecov/codecov-action/pull/1072">codecov/codecov-action#1072</a></li>
<li>Update README.md by <a
href="https://github.com/thomasrockhu-codecov"><code>@​thomasrockhu-codecov</code></a>
in <a
href="https://redirect.github.com/codecov/codecov-action/pull/1073">codecov/codecov-action#1073</a></li>
<li>build(deps-dev): bump <code>@​typescript-eslint/parser</code> from
6.5.0 to 6.6.0 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/codecov/codecov-action/pull/1071">codecov/codecov-action#1071</a></li>
<li>build(deps-dev): bump <code>@​vercel/ncc</code> from 0.36.1 to
0.38.0 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/codecov/codecov-action/pull/1074">codecov/codecov-action#1074</a></li>
<li>build(deps): bump <code>@​actions/core</code> from 1.10.0 to 1.10.1
by <a href="https://github.com/dependabot"><code>@​dependabot</code></a>
in <a
href="https://redirect.github.com/codecov/codecov-action/pull/1081">codecov/codecov-action#1081</a></li>
<li>build(deps-dev): bump <code>@​typescript-eslint/eslint-plugin</code>
from 6.6.0 to 6.7.0 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/codecov/codecov-action/pull/1080">codecov/codecov-action#1080</a></li>
<li>build(deps): bump actions/checkout from 3.6.0 to 4.0.0 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/codecov/codecov-action/pull/1078">codecov/codecov-action#1078</a></li>
<li>build(deps): bump actions/upload-artifact from 3.1.2 to 3.1.3 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/codecov/codecov-action/pull/1077">codecov/codecov-action#1077</a></li>
<li>build(deps-dev): bump <code>@​types/node</code> from 20.5.9 to
20.6.0 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/codecov/codecov-action/pull/1075">codecov/codecov-action#1075</a></li>
<li>build(deps-dev): bump <code>@​typescript-eslint/parser</code> from
6.6.0 to 6.7.0 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/codecov/codecov-action/pull/1079">codecov/codecov-action#1079</a></li>
<li>build(deps-dev): bump eslint from 8.48.0 to 8.49.0 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/codecov/codecov-action/pull/1076">codecov/codecov-action#1076</a></li>
<li>use cli instead of node uploader by <a
href="https://github.com/dana-yaish"><code>@​dana-yaish</code></a> in <a
href="https://redirect.github.com/codecov/codecov-action/pull/1068">codecov/codecov-action#1068</a></li>
<li>chore(release): 4.0.0-beta.1 by <a
href="https://github.com/thomasrockhu-codecov"><code>@​thomasrockhu-codecov</code></a>
in <a
href="https://redirect.github.com/codecov/codecov-action/pull/1084">codecov/codecov-action#1084</a></li>
<li>not adding -n if empty to do-upload command by <a
href="https://github.com/dana-yaish"><code>@​dana-yaish</code></a> in <a
href="https://redirect.github.com/codecov/codecov-action/pull/1085">codecov/codecov-action#1085</a></li>
<li>4.0.0-beta.2 by <a
href="https://github.com/thomasrockhu-codecov"><code>@​thomasrockhu-codecov</code></a>
in <a
href="https://redirect.github.com/codecov/codecov-action/pull/1086">codecov/codecov-action#1086</a></li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md">codecov/codecov-action's
changelog</a>.</em></p>
<blockquote>
<h2>4.0.0-beta.2</h2>
<h3>Fixes</h3>
<ul>
<li><a
href="https://redirect.github.com/codecov/codecov-action/issues/1085">#1085</a>
not adding -n if empty to do-upload command</li>
</ul>
<h2>4.0.0-beta.1</h2>
<p><code>v4</code> represents a move from the <a
href="https://github.com/codecov/uploader">universal uploader</a> to the
<a href="https://github.com/codecov/codecov-cli">Codecov CLI</a>.
Although this will unlock new features for our users, the CLI is not yet
at feature parity with the universal uploader.</p>
<h3>Breaking Changes</h3>
<ul>
<li>No current support for <code>aarch64</code> and <code>alpine</code>
architectures.</li>
<li>Tokenless uploading is unsuported</li>
<li>Various arguments to the Action have been removed</li>
</ul>
<h2>3.1.4</h2>
<h3>Fixes</h3>
<ul>
<li><a
href="https://redirect.github.com/codecov/codecov-action/issues/967">#967</a>
Fix typo in README.md</li>
<li><a
href="https://redirect.github.com/codecov/codecov-action/issues/971">#971</a>
fix: add back in working dir</li>
<li><a
href="https://redirect.github.com/codecov/codecov-action/issues/969">#969</a>
fix: CLI option names for uploader</li>
</ul>
<h3>Dependencies</h3>
<ul>
<li><a
href="https://redirect.github.com/codecov/codecov-action/issues/970">#970</a>
build(deps-dev): bump <code>@​types/node</code> from 18.15.12 to
18.16.3</li>
<li><a
href="https://redirect.github.com/codecov/codecov-action/issues/979">#979</a>
build(deps-dev): bump <code>@​types/node</code> from 20.1.0 to
20.1.2</li>
<li><a
href="https://redirect.github.com/codecov/codecov-action/issues/981">#981</a>
build(deps-dev): bump <code>@​types/node</code> from 20.1.2 to
20.1.4</li>
</ul>
<h2>3.1.3</h2>
<h3>Fixes</h3>
<ul>
<li><a
href="https://redirect.github.com/codecov/codecov-action/issues/960">#960</a>
fix: allow for aarch64 build</li>
</ul>
<h3>Dependencies</h3>
<ul>
<li><a
href="https://redirect.github.com/codecov/codecov-action/issues/957">#957</a>
build(deps-dev): bump jest-junit from 15.0.0 to 16.0.0</li>
<li><a
href="https://redirect.github.com/codecov/codecov-action/issues/958">#958</a>
build(deps): bump openpgp from 5.7.0 to 5.8.0</li>
<li><a
href="https://redirect.github.com/codecov/codecov-action/issues/959">#959</a>
build(deps-dev): bump <code>@​types/node</code> from 18.15.10 to
18.15.12</li>
</ul>
<h2>3.1.2</h2>
<h3>Fixes</h3>
<ul>
<li><a
href="https://redirect.github.com/codecov/codecov-action/issues/718">#718</a>
Update README.md</li>
<li><a
href="https://redirect.github.com/codecov/codecov-action/issues/851">#851</a>
Remove unsupported path_to_write_report argument</li>
<li><a
href="https://redirect.github.com/codecov/codecov-action/issues/898">#898</a>
codeql-analysis.yml</li>
<li><a
href="https://redirect.github.com/codecov/codecov-action/issues/901">#901</a>
Update README to contain correct information - inputs and negate
feature</li>
<li><a
href="https://redirect.github.com/codecov/codecov-action/issues/955">#955</a>
fix: add in all the extra arguments for uploader</li>
</ul>
<h3>Dependencies</h3>
<ul>
<li><a
href="https://redirect.github.com/codecov/codecov-action/issues/819">#819</a>
build(deps): bump openpgp from 5.4.0 to 5.5.0</li>
<li><a
href="https://redirect.github.com/codecov/codecov-action/issues/835">#835</a>
build(deps): bump node-fetch from 3.2.4 to 3.2.10</li>
<li><a
href="https://redirect.github.com/codecov/codecov-action/issues/840">#840</a>
build(deps): bump ossf/scorecard-action from 1.1.1 to 2.0.4</li>
<li><a
href="https://redirect.github.com/codecov/codecov-action/issues/841">#841</a>
build(deps): bump <code>@​actions/core</code> from 1.9.1 to 1.10.0</li>
<li><a
href="https://redirect.github.com/codecov/codecov-action/issues/843">#843</a>
build(deps): bump <code>@​actions/github</code> from 5.0.3 to 5.1.1</li>
<li><a
href="https://redirect.github.com/codecov/codecov-action/issues/869">#869</a>
build(deps): bump node-fetch from 3.2.10 to 3.3.0</li>
<li><a
href="https://redirect.github.com/codecov/codecov-action/issues/872">#872</a>
build(deps-dev): bump jest-junit from 13.2.0 to 15.0.0</li>
<li><a
href="https://redirect.github.com/codecov/codecov-action/issues/879">#879</a>
build(deps): bump decode-uri-component from 0.2.0 to 0.2.2</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/codecov/codecov-action/commit/e0b68c6749509c5f83f984dd99a76a1c1a231044"><code>e0b68c6</code></a>
fix: show both token uses in readme (<a
href="https://redirect.github.com/codecov/codecov-action/issues/1250">#1250</a>)</li>
<li><a
href="https://github.com/codecov/codecov-action/commit/1f9f5573d12d0967fe14551018a4b25610226551"><code>1f9f557</code></a>
Add all args (<a
href="https://redirect.github.com/codecov/codecov-action/issues/1245">#1245</a>)</li>
<li><a
href="https://github.com/codecov/codecov-action/commit/09686fcfcb6453414a5acd7f3a939670a7a77826"><code>09686fc</code></a>
Update README.md (<a
href="https://redirect.github.com/codecov/codecov-action/issues/1243">#1243</a>)</li>
<li><a
href="https://github.com/codecov/codecov-action/commit/f30e4959ba63075080d4f7f90cacc18d9f3fafd7"><code>f30e495</code></a>
fix: update action.yml (<a
href="https://redirect.github.com/codecov/codecov-action/issues/1240">#1240</a>)</li>
<li><a
href="https://github.com/codecov/codecov-action/commit/a7b945cea47ad44d8340fae2b004cb982191264f"><code>a7b945c</code></a>
fix: allow for other archs (<a
href="https://redirect.github.com/codecov/codecov-action/issues/1239">#1239</a>)</li>
<li><a
href="https://github.com/codecov/codecov-action/commit/98ab2c591b94478f4c3606d68ff73601df85ec43"><code>98ab2c5</code></a>
Update package.json (<a
href="https://redirect.github.com/codecov/codecov-action/issues/1238">#1238</a>)</li>
<li><a
href="https://github.com/codecov/codecov-action/commit/43235cc5aeeafd8aeb836fe7d647599acead161c"><code>43235cc</code></a>
Update README.md (<a
href="https://redirect.github.com/codecov/codecov-action/issues/1237">#1237</a>)</li>
<li><a
href="https://github.com/codecov/codecov-action/commit/0cf8684c821546a4e0c8c9a4cf4f21a7a0c5014b"><code>0cf8684</code></a>
chore(ci): bump to node20 (<a
href="https://redirect.github.com/codecov/codecov-action/issues/1236">#1236</a>)</li>
<li><a
href="https://github.com/codecov/codecov-action/commit/8e1e730371bf82c744e8ca9aa469e2b7011542ce"><code>8e1e730</code></a>
build(deps-dev): bump <code>@​typescript-eslint/eslint-plugin</code>
from 6.19.1 to 6.20.0 ...</li>
<li><a
href="https://github.com/codecov/codecov-action/commit/61293af0e8288c75266030376a088c781ec81c18"><code>61293af</code></a>
build(deps-dev): bump <code>@​typescript-eslint/parser</code> from
6.19.1 to 6.20.0 (<a
href="https://redirect.github.com/codecov/codecov-action/issues/1235">#1235</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/codecov/codecov-action/compare/v3...v4">compare
view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=codecov/codecov-action&package-manager=github_actions&previous-version=3&new-version=4)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)

</details>

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Jinzhe Zeng <[email protected]>
Signed-off-by: Jinzhe Zeng <[email protected]>
…ing#3237)

[A
segfault](https://github.com/deepmodeling/deepmd-kit/actions/runs/7782245372/job/21218255452)
sometimes appears in the tests after deepmodeling#3223. The reason is that the
required shape of the electric field is set to nall * 3 in the C
interface, but a vector of nloc * 3 is given in the tests and lammps and
used in the C++ interface. It was not caught before, as the program
didn't write to these addresses (only reading it usually won't cause a
segfault, unless the address is invalid).
Perhaps fix deepmodeling#2895.

---------

Signed-off-by: Jinzhe Zeng <[email protected]>
(cherry picked from commit e281a8c)
<!--pre-commit.ci start-->
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.1.14 →
v0.2.0](astral-sh/ruff-pre-commit@v0.1.14...v0.2.0)
<!--pre-commit.ci end-->

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Jinzhe Zeng <[email protected]>
(cherry picked from commit 37cdccf)
We don't need to pin them to a specific tag. This can close deepmodeling#3230.

Signed-off-by: Jinzhe Zeng <[email protected]>
(cherry picked from commit 1c8d635)
…modeling#3254)

To have the same behavior between TF and PT.

Signed-off-by: Jinzhe Zeng <[email protected]>
(cherry picked from commit dc63793)
Signed-off-by: Jinzhe Zeng <[email protected]>
<!--pre-commit.ci start-->
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.2.0 →
v0.2.1](astral-sh/ruff-pre-commit@v0.2.0...v0.2.1)
- [github.com/scop/pre-commit-shfmt: v3.7.0-4 →
v3.8.0-1](scop/pre-commit-shfmt@v3.7.0-4...v3.8.0-1)
<!--pre-commit.ci end-->

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
(cherry picked from commit 1bdc60d)
<!--pre-commit.ci start-->
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.2.1 →
v0.2.2](astral-sh/ruff-pre-commit@v0.2.1...v0.2.2)
- [github.com/Lucas-C/pre-commit-hooks: v1.5.4 →
v1.5.5](Lucas-C/pre-commit-hooks@v1.5.4...v1.5.5)
<!--pre-commit.ci end-->

---------

Signed-off-by: Jinzhe Zeng <[email protected]>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Jinzhe Zeng <[email protected]>
(cherry picked from commit 4b994df)
Signed-off-by: Jinzhe Zeng <[email protected]>
…update (deepmodeling#3312)

Bumps the npm_and_yarn group with 1 update in the /source/nodejs
directory: [ip](https://github.com/indutny/node-ip).

Updates `ip` from 2.0.0 to 2.0.1
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/indutny/node-ip/commit/3b0994a74eca51df01f08c40d6a65ba0e1845d04"><code>3b0994a</code></a>
2.0.1</li>
<li><a
href="https://github.com/indutny/node-ip/commit/32f468f1245574785ec080705737a579be1223aa"><code>32f468f</code></a>
lib: fixed CVE-2023-42282 and added unit test</li>
<li>See full diff in <a
href="https://github.com/indutny/node-ip/compare/v2.0.0...v2.0.1">compare
view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=ip&package-manager=npm_and_yarn&previous-version=2.0.0&new-version=2.0.1)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)
You can disable automated security fix PRs for this repo from the
[Security Alerts
page](https://github.com/deepmodeling/deepmd-kit/network/alerts).

</details>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Han Wang <[email protected]>
(cherry picked from commit 4956864)
Fix a bug caused by the breaking change in Keras 3 (shipped by TF 2.16).

---------

Signed-off-by: Jinzhe Zeng <[email protected]>
(cherry picked from commit 473cc0a)
Signed-off-by: Jinzhe Zeng <[email protected]>
Redundant setup was removed. The setup has already been executed in the
initial lines of post_force, along with subsequent calculations.
Reinitialization will lead to an error.

(cherry picked from commit 254afc8)
The atom->image of the wannier centroid should be set to the same as its
real counterpart when assigning the position.

---------

Co-authored-by: Yifan Li李一帆 <[email protected]>
(cherry picked from commit b1de9e6)
Fix deepmodeling#2265.

Signed-off-by: Jinzhe Zeng <[email protected]>
(cherry picked from commit 84d0576)
Signed-off-by: Jinzhe Zeng <[email protected]>
Signed-off-by: Jinzhe Zeng <[email protected]>
(cherry picked from commit 54efc03)
Signed-off-by: Jinzhe Zeng <[email protected]>
(cherry picked from commit 7af9e20)
Signed-off-by: Jinzhe Zeng <[email protected]>
Fix deepmodeling#3168.

deepmodeling#3172 didn't fix deepmodeling#3168. The environmental variable
`SETUPTOOLS_SCM_PRETEND_VERSION` works. I don't know what's wrong with
the previous one.
In this PR, I deleted the `.git` directory for `deepmd-kit-cu11`, which
will throw an error if it doesn't work.

---------

Signed-off-by: Jinzhe Zeng <[email protected]>
(cherry picked from commit bd79dec)
Signed-off-by: Jinzhe Zeng <[email protected]>
(cherry picked from commit 268a0fc)
Signed-off-by: Jinzhe Zeng <[email protected]>
Signed-off-by: Duo <[email protected]>
Co-authored-by: Jinzhe Zeng <[email protected]>
(cherry picked from commit fd82f04)

--------

Code for PyTorch is removed.

Signed-off-by: Jinzhe Zeng <[email protected]>
Signed-off-by: Jinzhe Zeng <[email protected]>
(cherry picked from commit 804848a)
Fix deepmodeling#3272. Apply implementation of deepmodeling#3271 into TF. Confirm consistent
results on `examples/water`, `examples/nopbc`, and ANI-1x (deepmodeling#1624).

80x speed up:

![image](https://github.com/deepmodeling/deepmd-kit/assets/9496702/85aa1fed-e3c0-4cb6-9082-db45c9a03f9d)

---------

Signed-off-by: Jinzhe Zeng <[email protected]>
(cherry picked from commit 02080db)

---------

Cleanup for r2.

Signed-off-by: Jinzhe Zeng <[email protected]>
…ng#3446)

Bumps
[softprops/action-gh-release](https://github.com/softprops/action-gh-release)
from 1 to 2.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/softprops/action-gh-release/releases">softprops/action-gh-release's
releases</a>.</em></p>
<blockquote>
<h2>v2.0.0</h2>
<ul>
<li>update actions.yml declaration to node20 to address warnings</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/softprops/action-gh-release/blob/master/CHANGELOG.md">softprops/action-gh-release's
changelog</a>.</em></p>
<blockquote>
<h2>0.1.12</h2>
<ul>
<li>fix bug leading to empty strings subsituted for inputs users don't
provide breaking api calls <a
href="https://redirect.github.com/softprops/action-gh-release/pull/144">#144</a></li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/softprops/action-gh-release/commit/d99959edae48b5ffffd7b00da66dcdb0a33a52ee"><code>d99959e</code></a>
prep release</li>
<li><a
href="https://github.com/softprops/action-gh-release/commit/0e39c679e8bac647fe5ad41070fe2295b0393d58"><code>0e39c67</code></a>
make pattern error opt in (<a
href="https://redirect.github.com/softprops/action-gh-release/issues/417">#417</a>)</li>
<li><a
href="https://github.com/softprops/action-gh-release/commit/20e085ccc73308c2c8e43ab8da4f8d7ecbb94d4e"><code>20e085c</code></a>
kick off 2.0.1 release</li>
<li><a
href="https://github.com/softprops/action-gh-release/commit/9f5c4d39bc56b5ed07f92f260dd05d33000058a6"><code>9f5c4d3</code></a>
update changelog</li>
<li><a
href="https://github.com/softprops/action-gh-release/commit/0bea76b22707a1871a52b97e07c80657071adb76"><code>0bea76b</code></a>
Add support for make_latest property (<a
href="https://redirect.github.com/softprops/action-gh-release/issues/304">#304</a>)</li>
<li><a
href="https://github.com/softprops/action-gh-release/commit/762fe13dfbc8921c36ebb81da5626a394a6a5b95"><code>762fe13</code></a>
typo in changelog</li>
<li><a
href="https://github.com/softprops/action-gh-release/commit/c0f2569fb90b35a0e2b043535a5778f437ec86ea"><code>c0f2569</code></a>
remove unused script</li>
<li><a
href="https://github.com/softprops/action-gh-release/commit/5743e060246b253faba6cb8e051511b63e7639c9"><code>5743e06</code></a>
update changelog</li>
<li><a
href="https://github.com/softprops/action-gh-release/commit/fe71fd3b919b0ad8636bb9a2930b15466814fbb7"><code>fe71fd3</code></a>
Don't swallow errors (<a
href="https://redirect.github.com/softprops/action-gh-release/issues/384">#384</a>)</li>
<li><a
href="https://github.com/softprops/action-gh-release/commit/9150ab13f3b0f0b7df0b9979d0e04968f5844d96"><code>9150ab1</code></a>
rebuild and update changelog</li>
<li>Additional commits viewable in <a
href="https://github.com/softprops/action-gh-release/compare/v1...v2">compare
view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=softprops/action-gh-release&package-manager=github_actions&previous-version=1&new-version=2)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)

</details>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Han Wang <[email protected]>
(cherry picked from commit 4c84514)
<!--pre-commit.ci start-->
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.2.2 →
v0.3.2](astral-sh/[email protected])
- [github.com/pre-commit/mirrors-clang-format: v17.0.6 →
v18.1.1](pre-commit/[email protected])
<!--pre-commit.ci end-->

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
(cherry picked from commit da68686)
Signed-off-by: Jinzhe Zeng <[email protected]>
This week, a random segfault occurred in GHA when using
`-fsanitize=leak`. It seems related to
actions/runner-images#9491. Workaround:
actions/runner-images#9491 (comment)
See also:
https://stackoverflow.com/questions/77894856/possible-bug-in-gcc-sanitizers

Signed-off-by: Jinzhe Zeng <[email protected]>
(cherry picked from commit 487f85c)
Signed-off-by: Jinzhe Zeng <[email protected]>
This pull request fixes the broken symlink for `dpplugin.so` on macOS.
It should point to `libdeepmd_lmp.so` but point to `libdeepmd_lmp.dylib`
instead.

### Details

The `libdeepmd_lmp` is a shared module.

https://github.com/deepmodeling/deepmd-kit/blob/b875ea8f6661b6e1567537ead7e2b4a8b14ea113/source/lmp/plugin/CMakeLists.txt#L72

The build target name on macOS is `libdeepmd_lmp.so`.

Because on macOS, the `CMAKE_SHARED_MODULE_SUFFIX` (`.so`) is different
from `CMAKE_SHARED_LIBRARY_SUFFIX` (`.dynlib`). As a result, in previous
versions, on macOS the symbolic link `dpplugin.so` was pointed to
`libdeepmd_lmp.dylib`, which does not exist. One can check the
conda-forge builds to confirm (e.g.,
[osx-arm64/deepmd-kit-2.2.9-cpu_py311hf5376d5_mpi_openmpi_0.conda](https://anaconda.org/conda-forge/deepmd-kit/2.2.9/download/osx-arm64/deepmd-kit-2.2.9-cpu_py311hf5376d5_mpi_openmpi_0.conda)).

(cherry picked from commit abf3477)
<!--pre-commit.ci start-->
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.3.2 →
v0.3.3](astral-sh/ruff-pre-commit@v0.3.2...v0.3.3)
<!--pre-commit.ci end-->

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
(cherry picked from commit 2851fb9)
)

Bumps [pypa/cibuildwheel](https://github.com/pypa/cibuildwheel) from
2.16 to 2.17.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/pypa/cibuildwheel/releases">pypa/cibuildwheel's
releases</a>.</em></p>
<blockquote>
<h2>v2.17.0</h2>
<ul>
<li>🌟 Adds the ability to inherit configuration in TOML overrides. This
makes certain configurations much simpler. If you're overriding an
option like <code>before-build</code> or <code>environment</code>, and
you just want to add an extra command or environment variable, you can
just append (or prepend) to the previous config. See <a
href="https://cibuildwheel.pypa.io/en/stable/options/#inherit">the
docs</a> for more information. (<a
href="https://redirect.github.com/pypa/cibuildwheel/issues/1730">#1730</a>)</li>
<li>🌟 Adds official support for native arm64 macOS GitHub runners. To
use them, just specify <code>macos-14</code> as an <code>os</code> of
your job in your workflow file. You can also keep <code>macos-13</code>
in your build matrix to build x86_64. Check out the new <a
href="https://cibuildwheel.pypa.io/en/stable/setup/#github-actions">GitHub
Actions example config</a>.</li>
<li>✨ You no longer need to specify <code>--platform</code> to run
cibuildwheel locally! Instead it will detect your platform
automatically. This was a safety feature, no longer necessary. (<a
href="https://redirect.github.com/pypa/cibuildwheel/issues/1727">#1727</a>)</li>
<li>🛠 Removed setuptools and wheel pinned versions. This only affects
old-style projects without a <code>pyproject.toml</code>, projects with
<code>pyproject.toml</code> are already getting fresh versions of their
<code>build-system.requires</code> installed into an isolated
environment. (<a
href="https://redirect.github.com/pypa/cibuildwheel/issues/1725">#1725</a>)</li>
<li>🛠 Improve how the GitHub Action passes arguments (<a
href="https://redirect.github.com/pypa/cibuildwheel/issues/1757">#1757</a>)</li>
<li>🛠 Remove a system-wide install of pipx in the GitHub Action (<a
href="https://redirect.github.com/pypa/cibuildwheel/issues/1745">#1745</a>)</li>
<li>🐛 No longer will cibuildwheel override the PIP_CONSTRAINT
environment variable when using the <code>build</code> frontend. Instead
it will be extended. (<a
href="https://redirect.github.com/pypa/cibuildwheel/issues/1675">#1675</a>)</li>
<li>🐛 Fix a bug where building and testing both x86_86 and arm64 wheels
on the same runner caused the wrong architectures in the test
environment (<a
href="https://redirect.github.com/pypa/cibuildwheel/issues/1750">#1750</a>)</li>
<li>🐛 Fix a bug that prevented testing a CPython 3.8 wheel targeting
macOS 11+ on x86_64 (<a
href="https://redirect.github.com/pypa/cibuildwheel/issues/1768">#1768</a>)</li>
<li>📚 Moved the docs onto the official PyPA domain - they're now
available at <a
href="https://cibuildwheel.pypa.io">https://cibuildwheel.pypa.io</a> .
(<a
href="https://redirect.github.com/pypa/cibuildwheel/issues/1775">#1775</a>)</li>
<li>📚 Docs and examples improvements (<a
href="https://redirect.github.com/pypa/cibuildwheel/issues/1762">#1762</a>,
<a
href="https://redirect.github.com/pypa/cibuildwheel/issues/1734">#1734</a>)</li>
</ul>
<h2>v2.16.5</h2>
<ul>
<li>🐛 Fix an incompatibility with the GitHub Action and new GitHub
Runner images for Windows that bundle Powershell 7.3+ (<a
href="https://redirect.github.com/pypa/cibuildwheel/issues/1741">#1741</a>)</li>
<li>🛠 Preliminary support for new <code>macos-14</code> arm64 runners
(<a
href="https://redirect.github.com/pypa/cibuildwheel/issues/1743">#1743</a>)</li>
</ul>
<h2>v2.16.4</h2>
<p>🛠 Update manylinux pins to upgrade from a problematic PyPy version.
(<a
href="https://redirect.github.com/pypa/cibuildwheel/issues/1737">#1737</a>)</p>
<h2>v2.16.3</h2>
<ul>
<li>🐛 Fix a bug when building from sdist, where relative paths to files
in the package didn't work because the working directory was wrong (<a
href="https://redirect.github.com/pypa/cibuildwheel/issues/1687">#1687</a>)</li>
<li>🛠 Adds the ability to disable mounting the host filesystem in
containers to <code>/host</code>, through the
<code>disable_host_mount</code> suboption on <a
href="https://cibuildwheel.readthedocs.io/en/stable/options/#container-engine"><code>CIBW_CONTAINER_ENGINE</code></a>.</li>
<li>📚 A lot of docs improvements! (<a
href="https://redirect.github.com/pypa/cibuildwheel/issues/1708">#1708</a>,
<a
href="https://redirect.github.com/pypa/cibuildwheel/issues/1705">#1705</a>,
<a
href="https://redirect.github.com/pypa/cibuildwheel/issues/1686">#1686</a>,
<a
href="https://redirect.github.com/pypa/cibuildwheel/issues/1679">#1679</a>,
<a
href="https://redirect.github.com/pypa/cibuildwheel/issues/1667">#1667</a>,
<a
href="https://redirect.github.com/pypa/cibuildwheel/issues/1665">#1665</a>)</li>
</ul>
<h2>v2.16.2</h2>
<ul>
<li>🛠 Updates CPython 3.12 version to 3.12.0, final release (<a
href="https://redirect.github.com/pypa/cibuildwheel/issues/1635">#1635</a>)</li>
<li>✨ Adds a debug option <a
href="https://cibuildwheel.readthedocs.io/en/stable/options/#cibw_debug_keep_container"><code>CIBW_DEBUG_KEEP_CONTAINER</code></a>
to stop cibuildwheel deleting build containers after the build finishes.
(<a
href="https://redirect.github.com/pypa/cibuildwheel/issues/1620">#1620</a>)</li>
<li>📚 Adds support for <code>[tool.cibuildwheel]</code> checking by
adding a schema compatible with the <a
href="https://github.com/abravalheri/validate-pyproject/">validate-pyproject</a>
tool (<a
href="https://redirect.github.com/pypa/cibuildwheel/issues/1622">#1622</a>,
<a
href="https://redirect.github.com/pypa/cibuildwheel/issues/1628">#1628</a>,
<a
href="https://redirect.github.com/pypa/cibuildwheel/issues/1629">#1629</a>)</li>
<li>🐛 Fix parsing of <code>CIBW_CONTAINER_ENGINE</code> and
<code>CIBW_BUILD_FRONTEND</code> options to not break arguments on
<code>:</code> characters (<a
href="https://redirect.github.com/pypa/cibuildwheel/issues/1621">#1621</a>)</li>
<li>🐛 Fix the evaluation order of <code>CIBW_ENVIRONMENT</code> and
<code>CIBW_ENVIRONMENT_PASS</code> so that <code>CIBW_ENVIRONMENT</code>
assignments can reference environment variables passed through from the
host machine. (<a
href="https://redirect.github.com/pypa/cibuildwheel/issues/1617">#1617</a>)</li>
<li>🛠 Supports manylinux images' deferred installation of interpreters
through the <code>manylinux-interpreters</code> tool (<a
href="https://redirect.github.com/pypa/cibuildwheel/issues/1630">#1630</a>)</li>
</ul>
<h2>v2.16.1</h2>
<ul>
<li>🛠 Updates the prerelease CPython 3.12 version to 3.12.0rc3 (<a
href="https://redirect.github.com/pypa/cibuildwheel/issues/1625">#1625</a>)</li>
<li>🛠 Only calls <code>linux32</code> in containers when necessary (<a
href="https://redirect.github.com/pypa/cibuildwheel/issues/1599">#1599</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/pypa/cibuildwheel/blob/main/docs/changelog.md">pypa/cibuildwheel's
changelog</a>.</em></p>
<blockquote>
<hr />
<h2>title: Changelog</h2>
<h1>Changelog</h1>
<h3>v2.17.0</h3>
<p><em>11 March 2024</em></p>
<ul>
<li>🌟 Adds the ability to inherit configuration in TOML overrides. This
makes certain configurations much simpler. If you're overriding an
option like <code>before-build</code> or <code>environment</code>, and
you just want to add an extra command or environment variable, you can
just append (or prepend) to the previous config. See <a
href="https://cibuildwheel.pypa.io/en/stable/options/#inherit">the
docs</a> for more information. (<a
href="https://redirect.github.com/pypa/cibuildwheel/issues/1730">#1730</a>)</li>
<li>🌟 Adds official support for native arm64 macOS GitHub runners. To
use them, just specify <code>macos-14</code> as an <code>os</code> of
your job in your workflow file. You can also keep <code>macos-13</code>
in your build matrix to build x86_64. Check out the new <a
href="https://cibuildwheel.pypa.io/en/stable/setup/#github-actions">GitHub
Actions example config</a>.</li>
<li>✨ You no longer need to specify <code>--platform</code> to run
cibuildwheel locally! Instead it will detect your platform
automatically. This was a safety feature, no longer necessary. (<a
href="https://redirect.github.com/pypa/cibuildwheel/issues/1727">#1727</a>)</li>
<li>🛠 Removed setuptools and wheel pinned versions. This only affects
old-style projects without a <code>pyproject.toml</code>, projects with
<code>pyproject.toml</code> are already getting fresh versions of their
<code>build-system.requires</code> installed into an isolated
environment. (<a
href="https://redirect.github.com/pypa/cibuildwheel/issues/1725">#1725</a>)</li>
<li>🛠 Improve how the GitHub Action passes arguments (<a
href="https://redirect.github.com/pypa/cibuildwheel/issues/1757">#1757</a>)</li>
<li>🛠 Remove a system-wide install of pipx in the GitHub Action (<a
href="https://redirect.github.com/pypa/cibuildwheel/issues/1745">#1745</a>)</li>
<li>🐛 No longer will cibuildwheel override the PIP_CONSTRAINT
environment variable when using the <code>build</code> frontend. Instead
it will be extended. (<a
href="https://redirect.github.com/pypa/cibuildwheel/issues/1675">#1675</a>)</li>
<li>🐛 Fix a bug where building and testing both x86_86 and arm64 wheels
on the same runner caused the wrong architectures in the test
environment (<a
href="https://redirect.github.com/pypa/cibuildwheel/issues/1750">#1750</a>)</li>
<li>🐛 Fix a bug that prevented testing a CPython 3.8 wheel targeting
macOS 11+ on x86_64 (<a
href="https://redirect.github.com/pypa/cibuildwheel/issues/1768">#1768</a>)</li>
<li>📚 Moved the docs onto the official PyPA domain - they're now
available at <a
href="https://cibuildwheel.pypa.io">https://cibuildwheel.pypa.io</a> .
(<a
href="https://redirect.github.com/pypa/cibuildwheel/issues/1775">#1775</a>)</li>
<li>📚 Docs and examples improvements (<a
href="https://redirect.github.com/pypa/cibuildwheel/issues/1762">#1762</a>,
<a
href="https://redirect.github.com/pypa/cibuildwheel/issues/1734">#1734</a>)</li>
</ul>
<h3>v2.16.5</h3>
<p><em>30 January 2024</em></p>
<ul>
<li>🐛 Fix an incompatibility with the GitHub Action and new GitHub
Runner images for Windows that bundle Powershell 7.3+ (<a
href="https://redirect.github.com/pypa/cibuildwheel/issues/1741">#1741</a>)</li>
<li>🛠 Preliminary support for new <code>macos-14</code> arm64 runners
(<a
href="https://redirect.github.com/pypa/cibuildwheel/issues/1743">#1743</a>)</li>
</ul>
<h3>v2.16.4</h3>
<p><em>28 January 2024</em></p>
<ul>
<li>🛠 Update manylinux pins to upgrade from a problematic PyPy version.
(<a
href="https://redirect.github.com/pypa/cibuildwheel/issues/1737">#1737</a>)</li>
</ul>
<h3>v2.16.3</h3>
<p><em>26 January 2024</em></p>
<ul>
<li>🐛 Fix a bug when building from sdist, where relative paths to files
in the package didn't work because the working directory was wrong (<a
href="https://redirect.github.com/pypa/cibuildwheel/issues/1687">#1687</a>)</li>
<li>🛠 Adds the ability to disable mounting the host filesystem in
containers to <code>/host</code>, through the
<code>disable_host_mount</code> suboption on <a
href="https://cibuildwheel.pypa.io/en/stable/options/#container-engine"><code>CIBW_CONTAINER_ENGINE</code></a>.</li>
<li>📚 A lot of docs improvements! (<a
href="https://redirect.github.com/pypa/cibuildwheel/issues/1708">#1708</a>,
<a
href="https://redirect.github.com/pypa/cibuildwheel/issues/1705">#1705</a>,
<a
href="https://redirect.github.com/pypa/cibuildwheel/issues/1686">#1686</a>,
<a
href="https://redirect.github.com/pypa/cibuildwheel/issues/1679">#1679</a>,
<a
href="https://redirect.github.com/pypa/cibuildwheel/issues/1667">#1667</a>,
<a
href="https://redirect.github.com/pypa/cibuildwheel/issues/1665">#1665</a>)</li>
</ul>
<h3>v2.16.2</h3>
<p><em>3 October 2023</em></p>
<ul>
<li>🛠 Updates CPython 3.12 version to 3.12.0, final release (<a
href="https://redirect.github.com/pypa/cibuildwheel/issues/1635">#1635</a>)</li>
<li>✨ Adds a debug option <a
href="https://cibuildwheel.pypa.io/en/stable/options/#cibw_debug_keep_container"><code>CIBW_DEBUG_KEEP_CONTAINER</code></a>
to stop cibuildwheel deleting build containers after the build finishes.
(<a
href="https://redirect.github.com/pypa/cibuildwheel/issues/1620">#1620</a>)</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/pypa/cibuildwheel/commit/8d945475ac4b1aac4ae08b2fd27db9917158b6ce"><code>8d94547</code></a>
Bump version: v2.17.0</li>
<li><a
href="https://github.com/pypa/cibuildwheel/commit/ca06deb26f92b2b2c6019a3bc223875215fe4cf2"><code>ca06deb</code></a>
Merge pull request <a
href="https://redirect.github.com/pypa/cibuildwheel/issues/1775">#1775</a>
from pypa/doc-domain</li>
<li><a
href="https://github.com/pypa/cibuildwheel/commit/f7e19222253830775777d4dc7e8cf56aa098d97f"><code>f7e1922</code></a>
CirrusCI fixes (<a
href="https://redirect.github.com/pypa/cibuildwheel/issues/1786">#1786</a>)</li>
<li><a
href="https://github.com/pypa/cibuildwheel/commit/0d8e919dfc5b7631e641377671db317556dcc7ef"><code>0d8e919</code></a>
[Bot] Update dependencies (<a
href="https://redirect.github.com/pypa/cibuildwheel/issues/1784">#1784</a>)</li>
<li><a
href="https://github.com/pypa/cibuildwheel/commit/022de07dc13bb25455653a082449a0c038632ac0"><code>022de07</code></a>
Merge pull request <a
href="https://redirect.github.com/pypa/cibuildwheel/issues/1785">#1785</a>
from pypa/revert-1783</li>
<li><a
href="https://github.com/pypa/cibuildwheel/commit/920f574191fe30782d55398b7a0e70d62c999024"><code>920f574</code></a>
Remove manylinux1 docker pin</li>
<li><a
href="https://github.com/pypa/cibuildwheel/commit/5c06f3c28934b3830d065b17ab853c4465ce6623"><code>5c06f3c</code></a>
docs: Add how to run tests in development (<a
href="https://redirect.github.com/pypa/cibuildwheel/issues/1698">#1698</a>)</li>
<li><a
href="https://github.com/pypa/cibuildwheel/commit/e2a0839555d4d2ffd366ac4cd933262f5974fd10"><code>e2a0839</code></a>
fix: set SYSTEM_VERSION_COMPAT=0 during pip install on macos (<a
href="https://redirect.github.com/pypa/cibuildwheel/issues/1768">#1768</a>)</li>
<li><a
href="https://github.com/pypa/cibuildwheel/commit/87fff7728267ddada9c54df079e5864e5c5e5dfb"><code>87fff77</code></a>
chore(deps): bump the actions group with 1 update (<a
href="https://redirect.github.com/pypa/cibuildwheel/issues/1776">#1776</a>)</li>
<li><a
href="https://github.com/pypa/cibuildwheel/commit/8ef9486aab2cc0aea71870a765265e294d84a679"><code>8ef9486</code></a>
Add <code>pedalboard</code> to projects.yml. (<a
href="https://redirect.github.com/pypa/cibuildwheel/issues/1781">#1781</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/pypa/cibuildwheel/compare/v2.16...v2.17">compare
view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=pypa/cibuildwheel&package-manager=github_actions&previous-version=2.16&new-version=2.17)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)

</details>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
(cherry picked from commit be95d09)
Signed-off-by: Jinzhe Zeng <[email protected]>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
(cherry picked from commit 145f501)
Signed-off-by: Jinzhe Zeng <[email protected]>
Fix deepmodeling#3509.

Note: 0 atoms in a processor with the PyTorch backend is currently
broken. I commented with a TODO tag.

---------

Signed-off-by: Jinzhe Zeng <[email protected]>
(cherry picked from commit fb61efb)
Signed-off-by: Jinzhe Zeng <[email protected]>
pre-commit-ci bot and others added 4 commits April 6, 2024 03:05
<!--pre-commit.ci start-->
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.3.4 →
v0.3.5](astral-sh/ruff-pre-commit@v0.3.4...v0.3.5)
<!--pre-commit.ci end-->

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
(cherry picked from commit cb08410)
…pmodeling#3632)

Currently, `se_atten_v2` is always masked to zero when `exclude_types`
is given. However, for the no neighbor case, the placeholder for a
virtual neighbor is `davg`. This causes discontinuity when
`set_davg_zero` is not set.

This PR uses `davg` for masking.

In production, we usually use `set_davg_zero` along with
`exclude_types`, so it hasn't caused a real problem.

I notice PT hasn't implemented `se_atten_v2` or `exclude_types`, but we
need attention in the future.

---------

Signed-off-by: Jinzhe Zeng <[email protected]>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
(cherry picked from commit 63601b0)
To solve this issue:
deepmodeling#3641

---------

Signed-off-by: Jinzhe Zeng <[email protected]>
Co-authored-by: robinzyb <[email protected]>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Jinzhe Zeng <[email protected]>
(cherry picked from commit 181b631)
Replace quick_start.ipynb with a new version. Aligned English tutorial
with Chinese version(https://nb.bohrium.dp.tech/detail/3313403083) in
structure and content.

---------

Signed-off-by: Xu zhangmancang <[email protected]>
Co-authored-by: Mancn <[email protected]>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
(cherry picked from commit edb9da8)
@@ -33,8 +33,7 @@
real_f: Optional[np.ndarray] = None,
relative: Optional[float] = None,
atomic: Literal[False] = False,
) -> Tuple[np.ndarray, np.ndarray, np.ndarray]:
...
) -> Tuple[np.ndarray, np.ndarray, np.ndarray]: ...

Check notice

Code scanning / CodeQL

Statement has no effect Note

This statement has no effect.
@@ -44,8 +43,7 @@
relative: Optional[float] = None,
*,
atomic: Literal[True],
) -> Tuple[np.ndarray, np.ndarray, np.ndarray, np.ndarray]:
...
) -> Tuple[np.ndarray, np.ndarray, np.ndarray, np.ndarray]: ...

Check notice

Code scanning / CodeQL

Statement has no effect Note

This statement has no effect.
Copy link

codecov bot commented Apr 6, 2024

Codecov Report

Attention: Patch coverage is 93.22382% with 33 lines in your changes are missing coverage. Please review.

Project coverage is 81.52%. Comparing base (29a0387) to head (128b6c7).

Files Patch % Lines
source/api_c/include/deepmd.hpp 86.04% 4 Missing and 8 partials ⚠️
source/api_c/src/c_api.cc 77.27% 5 Missing and 5 partials ⚠️
source/api_cc/src/DeepPot.cc 78.94% 2 Missing and 2 partials ⚠️
source/ipi/driver.cc 0.00% 3 Missing ⚠️
deepmd/fit/ener.py 71.42% 2 Missing ⚠️
deepmd/entrypoints/freeze.py 80.00% 1 Missing ⚠️
deepmd_utils/entrypoints/doc.py 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##               r2    #3648      +/-   ##
==========================================
+ Coverage   76.21%   81.52%   +5.30%     
==========================================
  Files         277      342      +65     
  Lines       25639    33844    +8205     
  Branches     1605     2872    +1267     
==========================================
+ Hits        19542    27590    +8048     
- Misses       5225     5371     +146     
- Partials      872      883      +11     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

njzjz and others added 3 commits April 6, 2024 03:24
This seems to fix the GPG key error posted at
deepmodeling#3325 (comment).
See https://almalinux.org/blog/2023-12-20-almalinux-8-key-update/

Signed-off-by: Jinzhe Zeng <[email protected]>
(cherry picked from commit d7a4f72)
…conda docs (deepmodeling#3462)

Signed-off-by: Jinzhe Zeng <[email protected]>
Co-authored-by: Chun Cai <[email protected]>
(cherry picked from commit 80b6900)
Signed-off-by: Jinzhe Zeng <[email protected]>
* fix NeighborStat

Signed-off-by: Jinzhe Zeng <[email protected]>

* mixed_type

Signed-off-by: Jinzhe Zeng <[email protected]>

---------

Signed-off-by: Jinzhe Zeng <[email protected]>
@njzjz njzjz marked this pull request as ready for review April 6, 2024 07:56
@njzjz
Copy link
Member Author

njzjz commented Apr 6, 2024

Important

DO NOT SQUASH!

@njzjz njzjz requested a review from wanghan-iapcm April 6, 2024 08:02
@njzjz
Copy link
Member Author

njzjz commented Apr 6, 2024

We may consider setting r2 as the default branch... The master branch will not be updated until v3.0.0 is released.

@wanghan-iapcm
Copy link
Collaborator

We may consider setting r2 as the default branch... The master branch will not be updated until v3.0.0 is released.

@njzjz default changed to r2.

@njzjz njzjz merged commit f8a0b31 into deepmodeling:r2 Apr 6, 2024
47 checks passed
@njzjz njzjz deleted the r2-2.2.10 branch April 6, 2024 18:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants